package org.nepu.scr.indexrate.vo.riskrate.equipmentdata;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.scr.indexrate.converter.DataVoConverter;
import org.nepu.scr.indexrate.vo.DataVo;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class ShipLevelInput {

    @ApiModelProperty(value = "发证机构")
    @Convert(converter = DataVoConverter.class)
    @Column(name = "issuing_authority")
    DataVo issuingAuthority;

    @ApiModelProperty(value = "是否在有效期内")
    @Convert(converter = DataVoConverter.class)
    @Column(name = "valid_period")
    DataVo validPeriod;
}
